import Session from '@/utils/storage';
const GET_USERINFO= 'user/info';

const userInfo= {
	namespaced: true,
	state: {
		userInfo: {
			username:'',
			isLogin:false
		},
	},
	mutations: {
		// 设置 TagsView 路由
		[GET_USERINFO](state: any, data: Array<string>) {
			state.userInfo = data;
		},
	},
	actions: {
	},
};

export default userInfo;